package org.batatasframework.bytecode.converte;

import org.batatasframework.bytecode.AsmMethodBody;
import org.batatasframework.bytecode.ClassAsminfo;
import org.batatasframework.bytecode.LocalVariableAsminfo;
import org.batatasframework.bytecode.MethodAsminfo;
import org.batatasframework.bytecode.PropertyAsminfo;
import org.batatasframework.bytecode.spi.AsmConvertable;
import org.springframework.asm.MethodVisitor;

/**
 * 格式化字符串显示，把指定的多个字段组成格式化字符串
 * @author jackson
 *
 */
public class AsmStringFormat implements AsmConvertable{
	/** 从源这一头，赋值到 */
	private PropertyAsminfo[] sourceProperties;
	/** 目标这一头 */
	private PropertyAsminfo targetProperty;
	/** 在这个方法体内进行的处理 */
	private AsmMethodBody methodBody;
	
	private String format;
	
	private static final MethodAsminfo formatMethod = ClassAsminfo.T_STRING.getMethod("format", Object[].class);
	
	@Override
	public void converte(MethodVisitor visitor, LocalVariableAsminfo localVariable) {
		// TODO Auto-generated method stub
		
	}

}
